package Projekt;

import java.awt.*;

/**
 * 
 * Punkt zum zeichnen eines Polygons
 *
 */
public class Corner implements Paintable {
	Point point = new Point();
	Color color = Color.black;
	
	public Corner(){
		super();
	}
	
	public Corner(Point point){
		this.point = point;
	}
	
	public void painting(Graphics2D g2d, boolean temp) {
		g2d.setPaint(color);
		g2d.drawOval(point.x-3, point.y-3, 6 , 6);
		g2d.setPaint(color);
		g2d.fillOval(point.x-3, point.y-3, 6 , 6);
	}

}
